- 
		Home
	
 
	- 
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE
 
- 
2.6.1
 
- 
Code
 
- 
Classes
 
-  Stripe_API 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											56 | 
										
																			
											| Dependencies | 
											9 | 
										
																			
											| Dependents | 
											4 | 
										
																	
							 
													
								
																			
											| Total lines | 
											328 | 
										
																			
											| Lines of code | 
											193 | 
										
																			
											| Logical lines of code | 
											126 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											86 | 
										
																			
											| Methods | 
											10 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 10
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| create_request() | 
									B  | 
																	43 | 
													16 | 
													49 | 
							
					
				| save_customer_data() | 
									A  | 
																	47 | 
													12 | 
													32 | 
							
					
				| check_purchase() | 
									A  | 
																	50 | 
													7 | 
													31 | 
							
					
				| get_status_for_price_id() | 
									S  | 
																	56 | 
													5 | 
													17 | 
							
					
				| get_customer_data() | 
									S  | 
																	59 | 
													5 | 
													15 | 
							
					
				| init() | 
									S  | 
																	64 | 
													4 | 
													9 | 
							
					
				| __construct() | 
									S  | 
																	57 | 
													2 | 
													18 | 
							
					
				| has_keys() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_session_email() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| build_error_response() | 
									S  | 
																	64 | 
													1 | 
													11 |